﻿class BTC_sitrep_RscStructuredText 
{
	type = 13;
	style = 16;
	x = 0;
	y = 0;
	h = 0.035;
	w = 0.1;
	text = "";
	size = "(			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
	colorText[] = {1, 1, 1, 1.0};
	shadow = 1;
	
	class Attributes {
		font = "PuristaMedium";
		color = "#ffffff";
		align = "left";
		shadow = 1;
	};
};
class BTC_main_sitrep_dialog
{
	idd = -1;
	movingEnable = 1;
	onLoad = "";
	objects[] = {};
	class controlsBackground 
	{

	};
	class controls 
	{
		class BTC_m_m_Save : BTC_r_button_menu 
		{
			idc = -1;
			text = "Save"; 
			action = "closeDialog 0;_spawn = [] spawn {sleep 0.5;_dlg = createDialog ""BTC_save_sitrep_dialog"";};";
			x = 0;
			y = 0.4;
			default = true;
		};
		class BTC_m_m_Read : BTC_r_button_menu 
		{
			idc = -1;
			text = "Read"; 
			action = "closeDialog 0;BTC_send_sitrep = name player;publicVariableServer ""BTC_send_sitrep"";";
			x = 0.2;
			y = 0.4;
			default = true;
		};
		class BTC_m_m_Close : BTC_r_button_menu 
		{
			idc = -1;
			text = "Exit"; 
			action = "closeDialog 0;";
			x = 0.1;
			y = 0.5;
			default = true;
		};
		class BTC_t_text : BTC_RscText 
		{
			idc = -1;
			x = 0;
			y = 0.3;
			w = 0.25;
			h = 0.037;
			colorBackground[] = {0, 0, 0, 0};
			text = "Read or save a sitrep?";
		};
	};
};
class BTC_save_sitrep_dialog
{
	idd = -1;
	movingEnable = 1;
	onLoad = "";
	objects[] = {};
	class controlsBackground 
	{

	};
	class controls 
	{
		class BTC_t_s_background : BTC_RscText 
		{
			idc = -1;
			x = 0;
			y = 0.15;
			w = 0.4;
			h = 0.75;
			colorBackground[] = {0, 0, 0, 0.7};
			text = "";
		};	
		class BTC_m_c_Apply : BTC_r_button_menu 
		{
			idc = -1;
			text = "Save"; 
			action = "_spawn = [] spawn BTC_m_save_sitrep";
			x = 0;
			y = 0.95;
			default = true;
		};
		class BTC_m_c_Close : BTC_r_button_menu 
		{
			idc = -1;
			text = "Exit"; 
			action = "closeDialog 0;";
			x = 0.2;
			y = 0.95;
			default = true;
		};
		class LineBreak : BTC_r_button_menu {
			text = "LineBreak";
			x = 0.1;
			y = 0.9;
			action = "CtrlSetText [212,(ctrlText 212) + ""<br/>""];";
		};
		class BTC_t_title : BTC_RscText 
		{
			colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
			idc = -1;
			x = 0;
			y = 0.15;
			w = 0.4;
			h = (1 / 25);
			text = "Title:";
		};
		class BTC_m_title : BTC_m_Edit 
		{
			idc = 211;
			x = 0; 
			y = 0.2;
			w = 0.4; 
			h = 0.055;
			text = "";
		};
		class BTC_t_text : BTC_RscText 
		{
			colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
			idc = -1;
			x = 0;
			y = 0.25;
			w = 0.4;
			h = (1 / 25);
			text = "Text:";
		};
		class BTC_m_text : BTC_m_Edit 
		{
			idc = 212;
			x = 0; 
			y = 0.3;
			w = 0.4; 
			h = 0.6;
			text = "";
		};
	};
};
class BTC_read_sitrep_dialog
{
	idd = 17;
	movingEnable = 1;
	onLoad = "";
	objects[] = {};
	class controlsBackground 
	{

	};
	class controls 
	{
		class BTC_t_r_background : BTC_RscText 
		{
			idc = -1;
			x = 0;
			y = 0.1;
			w = 0.4;
			h = 0.8;
			colorBackground[] = {0, 0, 0, 0.7};
			text = "";
		};	
		class BTC_m_r_Apply : BTC_r_button_menu 
		{
			idc = 299;
			text = "Delete"; 
			action = "_spawn = [] spawn BTC_m_canc_sitrep";
			x = 0;
			y = 0.95;
			default = true;
		};
		class BTC_m_r_Close : BTC_r_button_menu 
		{
			idc = -1;
			text = "Exit"; 
			action = "closeDialog 0;";
			x = 0.2;
			y = 0.95;
			default = true;
		};
		class BTC_m_r_list : BTC_r_combo 
		{
			idc = 300;
			onLBSelChanged = "_a = [] spawn BTC_m_load_sitrep";
			x = 0; 
			y = 0;
			w = 0.4; 
			h = 0.055;
		};
		class BTC_t_r_title : BTC_RscText 
		{
			colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
			idc = 301;
			x = 0;
			y = 0.1;
			w = 0.4;
			h = (1 / 25);
			text = "Title:";
		};
		class BTC_t_r_author : BTC_RscText 
		{
			colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
			idc = 302;
			x = 0;
			y = 0.15;
			w = 0.4;
			h = (1 / 25);
			text = "Author:";
		};
		class BTC_t_r_date : BTC_RscText 
		{
			colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"};
			idc = 303;
			x = 0;
			y = 0.2;
			w = 0.4;
			h = (1 / 25);
			text = "Date:";
		};
		class BTC_t_r_text : BTC_sitrep_RscStructuredText 
		{
			colorBackground[] = {0,0,0,0};
			idc = 304;
			x = 0;
			y = 0.25;
			w = 0.4;
			h = 0.6;
			text = "Text:";
		};
	};
};